package com.cheli.managerAsset.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cheli.managerAsset.entity.AsAsset;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cheli.managerAsset.entity.frontvo.AssetFrontVo;
import com.cheli.managerAsset.entity.vo.AssetInfoVo;
import com.cheli.managerAsset.entity.vo.AssetPublishVo;

import java.util.Map;

/**
 * <p>
 * 资产 服务类
 * </p>
 *
 * @author cheli
 * @since 2021-03-28
 */
public interface AsAssetService extends IService<AsAsset> {

    String addAssetInfo(AssetInfoVo assetInfoVo);

    AssetInfoVo getAssetInfo(String id);

    AssetPublishVo getPublishAssetInfoByAssetId(String id);

    void updateAssetById(AssetInfoVo asAsset);

    Map<String, Object> getFrontAssetList(Page<AsAsset> page, AssetFrontVo assetFrontVo);
}
